package com.xl.ssh.domain;

import com.jcraft.jsch.Channel;
import com.jcraft.jsch.JSch;
import org.springframework.web.socket.WebSocketSession;

/**
 * @Author:XueH
 * @Description:
 * @Date:Created in 9:40 2023/9/1
 * @Modified By:
 */
public class SSHConnectDO {

    private WebSocketSession webSocketSession;

    private JSch jSch;
    //ssh通道相关的东西吧？
    private Channel channel;


    public JSch getjSch() {
        return jSch;
    }

    public WebSocketSession getWebSocketSession() {
        return webSocketSession;
    }

    public void setWebSocketSession(WebSocketSession webSocketSession) {
        this.webSocketSession = webSocketSession;
    }

    public void setjSch(JSch jSch) {
        this.jSch = jSch;
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }
}
